import axios from "./axios";

export const getDraft = (params) => {
    return axios.get('/draft/pageList',{params})
}

export const publish = (data) => {
    return axios.post('/draft/create',data);
}